part of 'theme_extension.dart'; // 作为 theme_extension 的子文件

abstract class _ThemeData<T extends ThemeExtension<T>> extends ThemeExtension<T> {
  Color get themeColor => _define("themeColor");
  Color get textColor => _define("textColor");
  Color get backgroundColor => _define("backgroundColor");
  Color get secondaryTextColor => _define("onSecondaryColor");
  Color get secondaryColor => _define("secondaryColor");
  Color get onSecondaryColor => _define("onSecondaryColor");
  Color get secondaryContainer => _define("secondaryContainer");
  Color get drawerBackgroundColor => _define("drawerBackgroundColor");
  Color get appBarColor => _define("appBarColor");
  Color get bottomAppBarColor => _define("bottomAppBarColor");
  Color get borderColor => _define("borderColor");

  final Map<String, dynamic> _defines;
  dynamic _define(String key) => Helper.mapOf(_defines, key);
  _ThemeData(this._defines);
}